def get_full_name(first_name, last_name, formatter):
    return formatter(first_name, last_name)

full_name = get_full_name(
    'John',
    'Doe',
    lambda first_name, last_name: f"{first_name} {last_name}"
)

print(full_name)

def times(n):
    return lambda x: x * n

double = times(2)
print(double(3))

print(print.__doc__)